<? 
	include('base.php'); 
	User::protect();
	$page_title = 'Welcome to the Audition CMS';
	include('layout/header.php');
?>

<div class="col1">
	<div class="item option-band" onclick="location.href='band.php'">
	<p>
	<a href="band.php">Band</a><br/>
	Band bio, add/edit band members, guest performers, and band member diaries.
	</p>
	</div>
	<div class="item option-live" onclick="location.href='live.php'">
	<p>
	<a href="live.php">Live Performances</a><br/>
	Shows, tours and venues.
	</p>
	</div>
	<div class="item option-links" onclick="location.href='links.php'">
	<p>
	<a href="links.php">Links</a><br/>
	Links on your website to other sites of interest.
	</p>
	</div>
	
<?

$u = User::getCurrent();
if ($u->isAdmin()) { ?>

	<div class="item option-admin" onclick="location.href='admin.php'">
	<p>
	<a href="admin.php">Administrative Options</a><br/>
	Setup Audition user accounts, and certain server settings.
	</p>
	</div>

<? } 

?>
	
</div>
<div class="colspacer">&nbsp;</div>
<div class="col2">
	<div class="item option-releases" onclick="location.href='releases.php'">
	<p>
	<a href="releases.php">Releases</a><br/>
	Albums, tracks, audio and lyrics.
	</p>
	</div>
	<div class="item option-media" onclick="location.href='media.php'">
	<p>
	<a href="media.php">General Media</a><br/>
	Photos and audio files that don't belong to a particular release, band member or show.
	</p>
	</div>
	<img src="images/speaker_power_button.gif" width="375" height="212" alt="thump!" />
</div>

<? include('layout/footer.php'); ?>